package com.ptu.entity;

import java.util.Date;

public class Punishment {

    private Integer punid;
    private String punname;
    private Date puntime;
    private String pundesc;
    private String punstep;

    public Integer getPunid() {
        return punid;
    }

    public void setPunid(Integer punid) {
        this.punid = punid;
    }

    public String getPunname() {
        return punname;
    }

    public void setPunname(String punname) {
        this.punname = punname;
    }

    public Date getPuntime() {
        return puntime;
    }

    public void setPuntime(Date puntime) {
        this.puntime = puntime;
    }

    public String getPundesc() {
        return pundesc;
    }

    public void setPundesc(String pundesc) {
        this.pundesc = pundesc;
    }

    public String getPunstep() {
        return punstep;
    }

    public void setPunstep(String punstep) {
        this.punstep = punstep;
    }

    @Override
    public String toString() {
        return "Punishment{" +
                "punid=" + punid +
                ", punname='" + punname + '\'' +
                ", puntime=" + puntime +
                ", pundesc='" + pundesc + '\'' +
                ", punstep='" + punstep + '\'' +
                '}';
    }

    public Punishment() {
    }

    public Punishment(Integer punid, String punname, Date puntime, String pundesc, String punstep) {
        this.punid = punid;
        this.punname = punname;
        this.puntime = puntime;
        this.pundesc = pundesc;
        this.punstep = punstep;
    }
}
